<?php

class EnterpriseUserNon extends UserNo
{

    //@TODO aqui TIENE QUE HABER DIFERENTES NIVELES DE ASIGNACION!!!!!!!!!!!!!!!!!!!!!!!
    function asignar()
    {
        Security::addResourceEdges( array( 'R_USR' => array( $this->id ) ),
                'R_ADM_ENT', $_SESSION[ 'enterprise' ] );
        Security::addUserRoles( $this->id,
                array( 'USR_ENT' => array( $_SESSION[ 'enterprise' ] ) ) );
    }

}

?>
